package ecweb.domain.dto;

import java.io.Serializable;

import ecweb.domain.GoodItem;

public class TGoodInOrderDetail implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private GoodItem goodItem;
	private int quantity;
	private double transactionPrice;
	
	public GoodItem getGoodItem() {
		return goodItem;
	}
	public void setGoodItem(GoodItem goodItem) {
		this.goodItem = goodItem;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public double getTransactionPrice() {
		return transactionPrice;
	}
	public void setTransactionPrice(double transactionPrice) {
		this.transactionPrice = transactionPrice;
	}
	public double getTotalPrice() {
		return quantity * transactionPrice;
	}
	
	
}
